# A simple Makefile to build a unittest target with generik::Make and generik::testing
# coerce the tests to be all important in this project
all: tests

TESTS = function
# The built-in rules in Makefile.generik will now generate rules
# such as:
#LINKCC += test-function
#test-function: function.o
#test-function.cc: test-function.xml
#	$(GENERIK_PATH)/testing.py $^ > $@
#test-function.log: test-function
#	./test-function &> test-function.log
#TESTTARGETS += test-function
#TESTSOURCES += test-function.cc 
#TESTOUTPUTS += test-function.log 

# The following sets of flags control how the test is built
# However, since GENERIK_TRACING is always defined in a generated
# test, the test itself will output information, leaving only
# the testobject to be generated with no tracing

LDLIBS += -lpthread

include $(GENERIK_PATH)/Makefile.generik

